Hi, |
Re: DXL script for Linking modules in Doors |
Re: DXL script for Linking modules in Doors e.g. link object "2.5.3.3" to object "1.5.3.3". If so: this outline may work: get the "string Para = number(o)" for all objects in the module and store them in a Skip. Then for all objects in the Skip if the first character of its paragraph is "2" then build a string replacing it with "1" and look for that object in the Skip. If found create your link. Be sure to turn off showing deleted objects as otherwise your paragraphs may get renumbered. You may want to find existing such links in your link module and either preserve them or delete them as needed. If you want to only link Headings I suppose you can restrict storing into the Skip only those objects that have if (null (o."Object Heading" ""))
|